from django.conf.urls import url, include
from rest_framework import routers

from .views import UserWantMovieViewSet, UserStarMovieViewSet, UserMovieShortCommentsViewSet, \
    UserMovieShortCommentsReadViewSet

# list create
router = routers.DefaultRouter()
router.register(r'want', UserWantMovieViewSet)
router.register(r'star', UserStarMovieViewSet)
router.register(r'comments/short', UserMovieShortCommentsViewSet)
router.register(r'comments/all/short',UserMovieShortCommentsReadViewSet)

urlpatterns = [
    url(r'^', include(router.urls)),

]
